package com.ls.pattern.behavior.observer;

public class Main {
    public static void main(String[] args) {
        WeatherData weatherData = new WeatherData();
        weatherData.registerObserver(new Baidu());
        weatherData.setData(1f,2f);
    }
}
